content_list = [
    "今天天气不错",
    "挺风和日丽的",
    "我们跑来上自习!"
]

with open("../test/e.txt", "w", encoding="utf-8") as f:
    # f.writelines(content_list)

    for content in content_list:
        f.write(content + "\n")

with open("D:\\Python\\Projects\\python-basic\\test\\f.txt", "w", encoding="utf-8") as f:
    # f.writelines(content_list)

    for content in content_list:
        f.write(content + "\n")

